package org.csu.wuliu.persistence;


import org.csu.wuliu.domain.Pay;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PayMapper {
    Pay getPay(String orderId);
    //查询某分站所有收款信息
    List<Pay> getPayListBySubstationId(String substationId);

    //查询某年月内的收款信息
    List<Pay> getPayListBySubstationIdAndMonth(String yearmonth,String substationId);

    void insertPay(Pay pay);
    void updatePay(Pay pay);
}